class RepairsListBean {
  List<RepairsBean> list;
  int total;

  RepairsListBean({this.list, this.total});

  RepairsListBean.fromJson(Map<String, dynamic> json) {
    total = json['total'];
    if (json['list'] != null) {
      list = <RepairsBean>[];
      json['list'].forEach((v) => list.add(RepairsBean.fromJson(v)));
    }
  }
}

class RepairsBean {
  String buildingId;
  String buildingName;
  String content;
  String createBy;
  String createTime;
  String id;
  int isHandle;
  String maintain;
  String maintainName;
  String villageId;
  String villageName;

  RepairsBean(
      {this.buildingId,
      this.buildingName,
      this.content,
      this.createBy,
      this.createTime,
      this.id,
      this.isHandle,
      this.maintain,
      this.maintainName,
      this.villageId,
      this.villageName});

  RepairsBean.fromJson(Map<String, dynamic> json) {
    buildingId = json['buildingId'];
    buildingName = json['buildingName'];
    content = json['content'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    id = json['id'];
    isHandle = json['isHandle'];
    maintain = json['maintain'];
    maintainName = json['maintainName'];
    villageId = json['villageId'];
    villageName = json['villageName'];
  }
}
